package org.empire.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Menu implements Serializable{
	
	List<MenuItem> items = new ArrayList<MenuItem>();
	
	public Menu() {
		
	}
	
	public Menu(List<MenuItem> items) {
		this.setMenuItems(items);
	}
	
	public List<MenuItem> getItems() {
		return this.items;
	}
	
	public void setMenuItems(List<MenuItem> items) {
		this.items = items;
	}
	
	public void addMenuItem(MenuItem item) {
		this.items.add(item);
	}

}
